<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>菜单管理</title>
<script language="javascript" type="text/javascript" src="/bfs/common/scripts/dynamicImportJs.js"></script>
<script>
load([ "jquery-1.11.2","easyUI-1.4.5","permission", "validate" ,"basicCommon"]);
</script>
</head>
<body class="bfsbody">
<script type="text/javascript">
importScript("scripts/menu.js"); 

</script>
	<!--main-->
	<div class="n-main">
		<!--right-->
		<div class="n-content n-boxsd marlf5" id="n-chart">
			<div class="n-dttitle n-boxsd wdth">
				<strong><span>菜单名称：</span></strong>
				<input class="easyui-textbox" id="searchMenuName" />
				<strong><span class="marlf10">菜单状态：</span></strong>
				<select id="searchMenuState" class="cmslt" style="width: 100px;"></select>
				<input id="btnSearch" class="n-cmbtn n-gr marlf10" value="查询" type="button" />
				<div style="float: right;margin-right: 15px;">
					<a href="#" class="easyui-linkbutton" id="add" data-options="iconCls:'icon-addUser',plain:'true',size:'large',iconAlign:'left'">添加</a>
					<a href="#" class="easyui-linkbutton" id="deletes" data-options="iconCls:'icon-deleteUser',plain:'true',size:'large',iconAlign:'left'">批量删除</a>
				</div>
			</div>
			<div class="right-content n-boxsd" style="margin-top: 8px;">
				<div class="list treelist">
					<table id="listDataEx1" style="width: 100%;"></table>
				</div>
				<div class="nolist" style="display: none;">
				<div class="nolist-content">
					<div class="nolist-con"></div>
					<span>对不起，系统无相关记录...</span>
					</div>
				</div>
			</div>
		</div>
		<!--right end-->
	</div>
	<!--main end-->	
	<div id="createMenuDiv" class="easyui-window" style="width: 390px;" title="新增菜单" minimizable="false" modal="true" collapsible="false" resizable="false" maximizable="false"
		closed="true">
		<div class="window-div">
			<form method="POST" id="createMenuForm">
				<table class="window-table">
					<tr class="window-tr">
						<td class="window-td">菜单名称：</td>
						<td>
							<input class="easyui-textbox content" type="text" name="menuName" data-options="required:true,validType:'maxLength[50]'" id="addMenuName">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">上级菜单：</td>
						<td>
							<input id="addPId" name="pid"  class="content" data-options="required:true"/>
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">菜单路径：</td>
						<td>
							<input class="easyui-textbox content" type="text" name="menuUrl" data-options="validType:'maxLength[100]'">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">系统编码：</td>
						<td>
							<input class="content" type="text" name="menuCode" id="addMenuCode"></input>
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">排序：</td>
						<td>
							<input class="easyui-numberbox" type="text" name="orderNum" data-options="min:0,max:1000,validType:'maxLength[10]'" style="width: 180px;">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">状态：</td>
						<td>
							<input type="radio" name="mstatus" value="0" /> 停用 <input type="radio" name="mstatus" value="1" checked="checked" /> 启用
						</td>
					</tr>
				</table>
			</form>
			<div class="op-btn">
				<input id="submitCreateMenu" class="n-cmbtn n-gr marlf20" value="保存" type="button" />
				<input id="cancelCreateMenu" class="n-cmbtn btn-border marlf20" value="取消" type="button" />
			</div>
		</div>
	</div>
	
	<div id="editMenuDiv" class="easyui-window" style="width: 390px;" title="修改菜单" minimizable="false" modal="true" collapsible="false" resizable="false" maximizable="false"
		closed="true">
		<div class="window-div">
			<form method="POST" id="editMenuForm">
				<input type="hidden" name="menuId" id="editMenuId" />
				<table class="window-table">
					<tr class="window-tr">
						<td class="window-td">菜单名称：</td>
						<td>
							<input class="easyui-textbox content" type="text" name="menuName" data-options="required:true,validType:'maxLength[50]'" id="editMenuName">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">上级菜单：</td>
						<td>
							<input id="editPId" name="pid"  class="content"/>
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">菜单路径：</td>
						<td>
							<input class="easyui-textbox content" type="text" name="menuUrl" data-options="validType:'maxLength[100]'">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">系统编码：</td>
						<td>
							<input class="content" type="text" name="menuCode" id="editMenuCode"></input>
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">排序：</td>
						<td>
							<input class="easyui-numberbox content" type="text" name="orderNum" data-options="min:0,max:1000,validType:'maxLength[10]'" style="width: 180px;">
						</td>
					</tr>
					<tr class="window-tr">
						<td class="window-td">状态：</td>
						<td>
							<input type="radio" name="mstatus" value="0" /> 停用 <input type="radio" name="mstatus" value="1" checked="checked" /> 启用
						</td>
					</tr>
				</table>
			</form>
			<div class="op-btn">
				<input id="submitEditMenu" class="n-cmbtn n-gr marlf20" value="保存" type="button" />
				<input id="cancelEditMenu" class="n-cmbtn btn-border marlf20" value="取消" type="button" />
			</div>
		</div>
	</div>
	</div>
</body>
</html>